﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LY.Manage.WebApp.Models
{
    public static class Storages
    {


        /*
         *Install-Package Microsoft.AspNet.WebApi 
        */

        public static IEnumerable<Student> Students { get; set; }
        public static IEnumerable<Teacher> Teachers { get; set; }

        public static IEnumerable<TE_Luduan> TELuduan { get; set; }

        public static IEnumerable<TE_Luwang> TELuwang { get; set; }

        public static IEnumerable<TE_ShouFeiZhan> TEShouFeiZhan { get; set; }
        public static IEnumerable<TE_Daibanshixiang> TEDaibanshixiang { get; set; }
        public static IEnumerable<TE_Yidongxx> TEYidongxx { get; set; }
        public static IEnumerable<TE_Cheliangxxtj> TECheliangxxtj { get; set; }

        public static IEnumerable<TE_Heimingdan> TEHeimingdan { get; set; }
        public static IEnumerable<TE_Huimingdan> TEHuimingdan { get; set; }
        public static IEnumerable<TE_Huimingdanshoudong> TEHuimingdanshoudong { get; set; }
        public static IEnumerable<TE_Chaoshicltj> TEChaoshicltj { get; set; }

        public static IEnumerable<TE_Taopaishujufenxi> TETaopaishujufenxi { get; set; }
        public static IEnumerable<TE_Daibanshiwufenxi> TEDaibanshiwufenxi { get; set; }
        public static IEnumerable<TE_Dakehu> TEDakehu { get; set; }

        public static IEnumerable<TE_Cheliangyunying> TECheliangyunying { get; set; }

        public static IEnumerable<TE_Daolunyunying> TEDaolunyunying { get; set; }

        public static IEnumerable<TE_Waisheyunying> TEWaisheyunying { get; set; }
        
        
        static Storages()
        {


            #region 待办事务信息
            TEDaibanshiwufenxi = new List<TE_Daibanshiwufenxi>{

                 //序号  车牌号  入口站点  出口站点 
                 //收费金额  是否逃费  逃费开始站点  逃费结束站点  
                //逃费金额  追缴金额  欠缴金额  备注  处理时间  


                new TE_Daibanshiwufenxi { Xuhao="1",Chepaihao="津A88888",Rukouzhandian="侯台",Chukouzhandian="武清"
                    ,Shoufeijine="100",Shifoutaofei="是",Kaishizhandian="2016-3-21 18:03:28",Jieshuzhandian="2016-3-21 18:03:15"
                    ,Taofeijine="10",Zhujijine="10",Qianjijine="0",Beizhu="正常",Zhifu="App",Chulishijian="2016-3-21 18:05:06"
                },
                 new TE_Daibanshiwufenxi { Xuhao="1",Chepaihao="津A88899",Rukouzhandian="侯台",Chukouzhandian="武清"
                    ,Shoufeijine="100",Shifoutaofei="是",Kaishizhandian="2016-3-21 18:03:28",Jieshuzhandian="2016-3-21 18:03:15"
                    ,Taofeijine="10",Zhujijine="10",Qianjijine="0",Beizhu="正常",Zhifu="现金",Chulishijian="2016-3-21 18:05:06"
                },
                };
            #endregion
            #region 测试信息
            Students = new List<Student>
            {
                new Student{Id=1,Name="赵嘿嘿1",Age=11,Gender=false},
                new Student{Id=2,Name="赵嘿嘿2",Age=12,Gender=false},
                new Student{Id=3,Name="赵嘿嘿3",Age=13,Gender=false},
                new Student{Id=4,Name="赵嘿嘿4",Age=14,Gender=false},
                new Student{Id=5,Name="赵嘿嘿5",Age=15,Gender=false}
            };

            Teachers = new List<Teacher>();

            #endregion
            #region 收费站信息
            TEShouFeiZhan = new List<TE_ShouFeiZhan>
            {
                new  TE_ShouFeiZhan{Id=1,Name="天津路段",BianHao="001",Rukouzhan="侯台",Chukouzhan="武清",Rukouliuliang=4,Chukouliuliang=4 ,Kcliuliang=2,Hcliuliang=2},
                new  TE_ShouFeiZhan{Id=2,Name="天津路段", BianHao="002",Rukouzhan="静海",Chukouzhan="宝坻",Rukouliuliang=5,Chukouliuliang=5 ,Kcliuliang=2,Hcliuliang=3},
            };
            #endregion
            #region 路段信息
            TELuduan = new List<TE_Luduan>
            {
                new  TE_Luduan{Id=1,Name="天津路段",BianHao="001",Rukouzhan="侯台",Chukouzhan="武清",StartTime="2016-3-21 18:03:15"},
                new  TE_Luduan{Id=2,Name="天津路段", BianHao="002",Rukouzhan="静海",Chukouzhan="宝坻",StartTime="2016-3-21 18:03:15"},
            };
            #endregion
            #region 路网信息
            TELuwang = new List<TE_Luwang>
            {
                new  TE_Luwang{Id=1,Name="天津路网",Rukouzhan="侯台",Chukouzhan="武清",StartTime="2016-3-21 18:03:15"},
                new  TE_Luwang{Id=2,Name="河北路网",Rukouzhan="静海",Chukouzhan="宝坻",StartTime="2016-3-21 18:04:15"},
            };
            #endregion
            #region 待办事项处理
            TEDaibanshixiang = new List<TE_Daibanshixiang>
            {
                new  TE_Daibanshixiang{CarNo="黄津AD9028",Shoufeiyuan="zhaoshun",Zhuangtai="车道处理确认",Time="2014-12-27 18:12:51",Cheliangxx="车辆详细",Shijiancl="事件处理",Cheliangcl="车辆处理"},
                new  TE_Daibanshixiang{CarNo="蓝冀RWG291",Shoufeiyuan="zhaoshun",Zhuangtai="车道处理确认",Time="2014-12-27 18:12:51",Cheliangxx="车辆详细",Shijiancl="事件处理",Cheliangcl="车辆处理"},
            };
            #endregion
            #region 移动信息服务
            TEYidongxx = new List<TE_Yidongxx>
            {
                new  TE_Yidongxx{Id=1,Title="2016年2月逃费情况 ",Content="新增黑名单车辆150辆，已追缴金额20万，待处理车辆30辆，待追缴金额25万。",Jieshouren="李阳",Charutime="2016-2-27 18:12:51",FasongTime="2016-2-27 18:13:01",Shifoufs="是"},
                new  TE_Yidongxx{Id=2,Title="2016年2月逃费情况 ",Content="新增黑名单车辆150辆，已追缴金额20万，待处理车辆30辆，待追缴金额25万。",Jieshouren="李阳",Charutime="2016-2-27 18:12:51",FasongTime="2016-2-27 18:13:01",Shifoufs="是"},
            };
            #endregion
            #region 车辆信息统计
            TECheliangxxtj = new List<TE_Cheliangxxtj>
            {
                new  TE_Cheliangxxtj{Id=1,Carno="黄苏A82719",Tongjitime="2014-02-04 ",Chukouluduanhao="118",Chukouyezhuhao="18",Chukoushoufeizhan="1181812",Shoufeiyuan="118341",Chexing="13",Chukouchezhong="1",Rukoushoufeizhan="1141406",Rukoushijian="2014-07-03 03:52:39.0",Tongxingshijian="2014-07-03 23:54:09.0",Shijiancha="20.2",Shoufeijine="255",Youhuileixing="0",Zhifu="App",Xiangxi="详细"},
                new  TE_Cheliangxxtj{Id=1,Carno="黄鲁N33817",Tongjitime="2016-02-04 ",Chukouluduanhao="111",Chukouyezhuhao="11",Chukoushoufeizhan="1111101",Shoufeiyuan="111142",Chexing="15",Chukouchezhong="1",Rukoushoufeizhan="1090905",Rukoushijian="2014-07-04 06:03:17.0",Tongxingshijian=" 2014-07-05 02:05:26.0",Shijiancha="20.4",Shoufeijine="160",Youhuileixing="0",Zhifu="现金",Xiangxi="详细"},

            };
            #endregion
            #region 黑名单
            TEHeimingdan = new List<TE_Heimingdan>
            {
               new  TE_Heimingdan{Id=1,Carno="黄津AD9028",Result="超时",Inserttime="2014-12-27 18:12:51",Searchxx="查看详细"},
               new  TE_Heimingdan{Id=2,Carno="蓝冀RWG291",Result="套牌",Inserttime="2014-12-27 18:12:51",Searchxx="查看详细"},
            };
            #endregion
            #region 灰名单
            TEHuimingdan = new List<TE_Huimingdan>
            {
               new  TE_Huimingdan{Id=1,Carno="黄津AD9028",Shoufeiyuan="李阳",Zhuangtai="是",Time="2016-2-27 18:12:51",Searchxx="查看详细"},
               new  TE_Huimingdan{Id=2,Carno="蓝冀RWG291",Shoufeiyuan="杨光",Zhuangtai="是",Time="2016-2-27 18:12:51",Searchxx="查看详细"},
            };
            #endregion
            #region 手动黑名单
            TEHuimingdanshoudong = new List<TE_Huimingdanshoudong>
            {
               new  TE_Huimingdanshoudong{Id=1,Carno="黄津AD9028",Shoufeiyuan="李阳",Zhuangtai="是",Time="2016-2-27 18:12:51",Searchxx="查看详细"},
               new  TE_Huimingdanshoudong{Id=2,Carno="蓝冀RWG291",Shoufeiyuan="杨光",Zhuangtai="是",Time="2016-2-27 18:12:51",Searchxx="查看详细"},
            };
            #endregion
            #region 车辆超时信息统计
            TEChaoshicltj = new List<TE_Chaoshicltj>
            {
                new  TE_Chaoshicltj{Id=1,Carno="黄苏A82719",Tongjitime="2014-02-04 ",Chukouluduanhao="118",Chukouyezhuhao="18",Chukoushoufeizhan="1181812",Shoufeiyuan="118341",Chexing="13",Chukouchezhong="1",Rukoushoufeizhan="1141406",Rukoushijian="2014-07-03 03:52:39.0",Tongxingshijian="2014-07-03 23:54:09.0",Shijiancha="20.2",Shoufeijine="255",Youhuileixing="0",Zhifu="App",Xiangxi="详细"},
                new  TE_Chaoshicltj{Id=1,Carno="黄鲁N33817",Tongjitime="2016-02-04 ",Chukouluduanhao="111",Chukouyezhuhao="11",Chukoushoufeizhan="1111101",Shoufeiyuan="111142",Chexing="15",Chukouchezhong="1",Rukoushoufeizhan="1090905",Rukoushijian="2014-07-04 06:03:17.0",Tongxingshijian=" 2014-07-05 02:05:26.0",Shijiancha="20.4",Shoufeijine="160",Youhuileixing="0",Zhifu="现金",Xiangxi="详细"},

            };
            #endregion
            #region 套牌信息统计
            TETaopaishujufenxi = new List<TE_Taopaishujufenxi>
            {
                new  TE_Taopaishujufenxi{Id=1,Carno="黄津AD9028",Chukouluduanhao="011",Rukouluduanhao="002",Tongjishu="5",Time="2016-2-27 18:12:51",Zhifu="App",Searchxx="查看详细"},
               new  TE_Taopaishujufenxi{Id=2,Carno="蓝冀RWG291",Chukouluduanhao="031",Rukouluduanhao="025",Tongjishu="5",Time="2016-2-27 18:12:51",Zhifu="现金",Searchxx="查看详细"},
            };
            #endregion
            #region 大客户
            TEDakehu = new List<TE_Dakehu>
            {
                new  TE_Dakehu{Id=1,Name="李伟",Bianhao="001",Shoujihao="13513034859",Jifen="50",Time="2016-3-07 18:12:51",Context="前方道路拥堵，请注意！"},
               new  TE_Dakehu{Id=2,Name="王伟忠",Bianhao="002",Shoujihao="18702214587",Jifen="50",Time="2016-3-07 18:15:51",Context="前方道路拥堵，请注意！"},
             
            };

            #endregion
            #region 车辆运营
            TECheliangyunying = new List<TE_Cheliangyunying>
            {
                new  TE_Cheliangyunying{Id=1,Name="李伟",Shoujihao="13513034859",Carno="京FAS356",Luduan="天津路段",Quduan="天津区段",Shoufeizhan="侯台收费站",Fuwuqu="唐官屯服务区",Time="2016-3-07 18:12:51",Context="前方道路拥堵，请注意！"},
               new  TE_Cheliangyunying{Id=2,Name="王伟忠",Shoujihao="18702214587",Carno="津FAY233",Luduan="天津路段",Quduan="天津区段",Shoufeizhan="侯台收费站",Fuwuqu="唐官屯服务区",Time="2016-3-07 18:15:51",Context="前方道路拥堵，请注意！"},
             
            };
            #endregion

            #region 道路运营
            TEDaolunyunying = new List<TE_Daolunyunying>
            {
                new  TE_Daolunyunying{Id=1,danwei="交管局",Name="张飞",Shoujihao="13513034859",Time="2016-3-07 18:12:51",Context="前方道路拥堵，请注意！"},
               new  TE_Daolunyunying{Id=2,danwei="路政大队",Name="李伟",Shoujihao="18702214587",Time="2016-3-07 18:15:51",Context="前方道路拥堵，请注意！"},
             
            };
            #endregion

            
            #region 外部设施运营
            TEWaisheyunying = new List<TE_Waisheyunying>
            {
              new  TE_Waisheyunying{Id=1,Name="可变情报板",Bianhao="001",Weizhi="天津侯台站",Time="2016-3-07 18:12:51",Context="可变情报板出现播报错误，请注意！"},
              new  TE_Waisheyunying{Id=2,Name="站前情报板",Bianhao="002",Weizhi="河北青县站",Time="2016-3-08 12:15:51",Context="站前情报板出现播报错误，请注意！"},
              new  TE_Waisheyunying{Id=3,Name="道路信息发布屏",Bianhao="002",Weizhi="天津塘沽站",Time="2016-3-09 8:15:51",Context="道路信息发布屏断电，请注意！"},
             
            };
            #endregion

        }


        #region 待办事务处理分析
        public class TE_Daibanshiwufenxi
        {

            //序号  车牌号  入口站点  出口站点  收费金额  是否逃费  逃费开始站点  逃费结束站点  
            //逃费金额  追缴金额  欠缴金额  备注  处理时间  
            public string Xuhao { get; set; }

            public String Chepaihao { get; set; }

            public string Rukouzhandian { get; set; }


            public string Chukouzhandian { get; set; }

            public string Shoufeijine { get; set; }
            public string Shifoutaofei { get; set; }


            public string Kaishizhandian { get; set; }


            public string Jieshuzhandian { get; set; }

            public string Taofeijine { get; set; }

            public string Zhujijine { get; set; }

            public string Qianjijine { get; set; }
            public string Beizhu { get; set; }
            public string Chulishijian { get; set; }
            public string Zhifu { get; set; }
        }
        #endregion

        #region  收费站字段

        public class TE_ShouFeiZhan
        {
            /// <summary>
            /// ID
            /// </summary>
            public int Id { get; set; }
            /// <summary>
            /// 路段名称
            /// </summary>
            public string Name { get; set; }
            /// <summary>
            /// 编号
            /// </summary>
            public string BianHao { get; set; }
            public string Carno { get; set; }

            public string Rukouzhan { get; set; }
            public string Chukouzhan { get; set; }

            public int Rukouliuliang { get; set; }

            public int Chukouliuliang { get; set; }

            public int Kcliuliang { get; set; }

            public int Hcliuliang { get; set; }
            public DateTime StartTime { get; set; }
            public DateTime EndTime { get; set; }








        }



        #endregion
        #region  路网字段

        public class TE_Luduan
        {
            /// <summary>
            /// ID
            /// </summary>
            public int Id { get; set; }
            /// <summary>
            /// 路段名称
            /// </summary>
            public string Name { get; set; }
            /// <summary>
            /// 编号
            /// </summary>
            public string BianHao { get; set; }

            public string Rukouzhan { get; set; }
            public string Chukouzhan { get; set; }


            public string  StartTime { get; set; }
            public DateTime EndTime { get; set; }







        }



        #endregion
        #region  路网字段
        public class TE_Luwang
        {
            /// <summary>
            /// ID
            /// </summary>
            public int Id { get; set; }
            /// <summary>
            /// 路网名称
            /// </summary>
            public string Name { get; set; }


            public string Rukouzhan { get; set; }
            public string Chukouzhan { get; set; }

            public string  StartTime { get; set; }
            public DateTime EndTime { get; set; }







        }
        #endregion

        #region 待办事项处理

        public class TE_Daibanshixiang
        {
            public string CarNo { get; set; }
            public string Shoufeiyuan { get; set; }
            public string Zhuangtai { get; set; }
            public string Time { get; set; }
            public string Cheliangxx { get; set; }
            public string Shijiancl { get; set; }
            public string Cheliangcl { get; set; }

        }
        #endregion
        #region 移动信息服务

        public class TE_Yidongxx
        {
            public int Id { get; set; }
            public string Title { get; set; }
            public string Content { get; set; }
            public string Jieshouren { get; set; }
            public string Charutime { get; set; }
            public string FasongTime { get; set; }
            public string Shifoufs { get; set; }


        }
        #endregion

        #region 车辆信息统计

        public class TE_Cheliangxxtj
        {
            public int Id { get; set; }
            public string Carno { get; set; }
            public string Tongjitime { get; set; }
            public string Chukouluduanhao { get; set; }
            public string Chukouyezhuhao { get; set; }
            public string Chukoushoufeizhan { get; set; }
            public string Shoufeiyuan { get; set; }
            public string Chexing { get; set; }
            public string Chukouchezhong { get; set; }
            public string Rukoushoufeizhan { get; set; }
            public string Rukoushijian { get; set; }
            public string Tongxingshijian { get; set; }
            public string Shijiancha { get; set; }
            public string Shoufeijine { get; set; }
            public string Youhuileixing { get; set; }
            public string Xiangxi { get; set; }

            public string Zhifu { get; set; }

        }
        #endregion

        #region 黑名单查询

        public class TE_Heimingdan
        {
            public int Id { get; set; }
            public string Carno { get; set; }
            public string Result { get; set; }
            public string Inserttime { get; set; }
            public string Searchxx { get; set; }



        }
        #endregion
        #region 灰名单查询

        public class TE_Huimingdan
        {
            public int Id { get; set; }
            public string Carno { get; set; }
            public string Shoufeiyuan { get; set; }
            public string Zhuangtai { get; set; }
            public string Time { get; set; }
            public string Searchxx { get; set; }



        }
        #endregion
        #region 手动黑名单

        public class TE_Huimingdanshoudong
        {
            public int Id { get; set; }
            public string Carno { get; set; }
            public string Shoufeiyuan { get; set; }
            public string Zhuangtai { get; set; }
            public string Time { get; set; }
            public string Searchxx { get; set; }



        }
        #endregion
        #region 超时车辆统计

        public class TE_Chaoshicltj
        {

            public int Id { get; set; }
            public string Carno { get; set; }
            public string Tongjitime { get; set; }
            public string Chukouluduanhao { get; set; }
            public string Chukouyezhuhao { get; set; }
            public string Chukoushoufeizhan { get; set; }
            public string Shoufeiyuan { get; set; }
            public string Chexing { get; set; }
            public string Chukouchezhong { get; set; }
            public string Rukoushoufeizhan { get; set; }
            public string Rukoushijian { get; set; }
            public string Tongxingshijian { get; set; }
            public string Shijiancha { get; set; }
            public string Shoufeijine { get; set; }
            public string Youhuileixing { get; set; }
            public string Xiangxi { get; set; }
             public string Zhifu{ get; set; }

        }
        #endregion
        #region 套牌数据分析

        public class TE_Taopaishujufenxi
        {
            public int Id { get; set; }
            public string Carno { get; set; }
            public string Chukouluduanhao { get; set; }
            public string Rukouluduanhao { get; set; }
            public string Tongjishu { get; set; }
            public string Time { get; set; }
            public string Searchxx { get; set; }
            public string Zhifu { get; set; }
        }
        #endregion


        #region 大客户数据
        public class TE_Dakehu
        {
            public int Id { get; set; }
            public string Name { get; set; }
            public string Bianhao { get; set; }
            public string Shoujihao { get; set; }
            public string Jifen { get; set; }
            public string Context { get; set; }
            public string Time { get; set; }

        }
        #endregion


        #region 车辆运营
        public class TE_Cheliangyunying
        {
            public int Id { get; set; }

            public string Name { get; set; }
            public string Carno { get; set; }
            public string Shoujihao { get; set; }
            public string Luduan { get; set; }
            public string Quduan { get; set; }

            public string Context { get; set; }
            public string Shoufeizhan { get; set; }
            public string Fuwuqu { get; set; }

            public string Time { get; set; }

        }
        #endregion

        #region 道路运营
        public class TE_Daolunyunying
        {
            public int Id { get; set; }
            public string danwei { get; set; }
            public string Name { get; set; }
            public string Shoujihao { get; set; }
            public string Context { get; set; }
            public string Time { get; set; }

        }
        #endregion

        #region 外设管理
        public class TE_Waisheyunying
        {
            public int Id { get; set; }
            public string Name { get; set; }
            public string Bianhao { get; set; }
         
            public string Weizhi { get; set; }
            public string Context { get; set; }
            public string Time { get; set; }

        }
        #endregion


        public class Person
        {
            public int Id { get; set; }
            public string Name { get; set; }
            public int Age { get; set; }

            public bool Gender { get; set; }

        }

        public class Student : Person
        {

        }
        public class Teacher : Person
        {

        }

    }

}